A fast algorithm for identifying Friends-of-Friends halos

نویسندگان

  • Yu Feng
  • Chirag Modi
چکیده

We describe a simple and fast algorithm for identifying friends-of-friends clusters and prove its correctness. The algorithm avoids unnecessary expensive neighbor queries, uses minimal memory overhead, and rejects slowdown in high over-density regions. We define our algorithm formally based on pair enumeration, a problem that has been heavily studied in fast 2-point correlation codes and our reference implementation employs a dual KD-tree correlation function code. We construct halos in a hierarchical merger tree, and use a splay operation to reduce the average cost of identifying the root of a cluster from O[logL] to O[1] (L is the size of a cluster) without additional memory costs. This reduces the overall time complexity of merging trees form O[L logL] to O[L], reducing the number of operations per by orders of magnitude. We next introduce a pruning operation that skips pair enumeration between two fully self-connected KD-tree nodes. This improves the robustness of the algorithm, reducing cost of exploring to high density peaks from O[δ] to O[δ]. We show that for cosmological data set the algorithm eliminates more than half of enumerations for typically used linking lengths b ∼ 0.2, and empirically scales as O[log b] at large b (linking length) limit. Furthermore, our algorithm is extremely simple and easy to implement on top of an existing pair enumeration code, reusing the optimization effort that has been invested in fast correlation function codes.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Halo World : Tools for Parallel Cluster Finding inAstrophysical N - body

Cosmological N-body simulations on parallel computers produce large datasets | gigabytes at each instant of simulated cosmological time, and hundreds of gigabytes over the course of a simulation. These large datasets require further analysis before they can be compared to astronomical observations. The \Halo World" tools include two methods for performing halo nding: identifying all of the grav...

متن کامل

Group Identification in N-Body Simulations: SKID and DENMAX Versus Friends-of-Friends∗

Three popular algorithms (FOF, DENMAX, and SKID) to identify halos in cosmological N-body simulations are compared with each other and with the predicted mass function from Press-Schechter theory. It is shown that the resulting distribution of halo masses strongly depends upon the choice of free parameters in the three algorithms, and therefore much care in their choice is needed. For many para...

متن کامل

Precision Determination of the Mass Function of Dark Matter Halos

The predicted mass function of dark matter halos is essential in connecting observed galaxy cluster counts and models of galaxy clustering to the properties of the primordial density field. We determine the mass function in the concordance ΛCDM cosmology, as well as its uncertainty, using sixteen 10243-particle nestedvolume dark-matter simulations, spanning a mass range of over five orders of m...

متن کامل

The Large Scale Bias of Dark Matter Halos: Numerical Calibration and Model Tests

We measure the clustering of dark matter halos in a large set of collisionless cosmological simulations of the flat ΛCDM cosmology. Halos are identified using the spherical overdensity algorithm, which finds the mass around isolated peaks in the density field such that the mean density is ∆ times the background. We calibrate fitting functions for the large scale bias that are adaptable to any v...

متن کامل

Mass Function of Low Mass Dark Halos

The mass function of dark halos in a Λ-dominated cold dark matter (ΛCDM) universe is investigated. 529 output files from five runs of N-body simulations are analyzed using the friends-of-friends cluster finding algorithm. All the runs use 5123 particles in the box size of 35 h−1Mpc to 140 h−1Mpc. Mass of particles for 35 h−1 Mpc runs is 2.67 ×107h−1 M⊙. Because of the high mass resolution of ou...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1607.03224  شماره 

صفحات  -

تاریخ انتشار 2016